package mediator;

import java.awt.Button;
import java.awt.HeadlessException;

public class ColleagueButton extends Button implements Colleague {

	private Mediator mediator;

	public ColleagueButton(String label) throws HeadlessException {
		super(label);
	}

	@Override
	public void setColleagueEnabled(boolean enabled) {
		setEnabled(enabled);
	}

	@Override
	public void setMediator(Mediator mediator) {
		this.mediator = mediator;
	}

}
